package ModelLayer;


public class Machines
{
 
    private String name;
    private int amount;
    private double rentPrice;
    private long machineId;
    

  
    public Machines(int amount, String name, double rentPrice, long machineId)
    {
       this.amount = amount;
       this.name = name;
       this.rentPrice = rentPrice;
       this.machineId = machineId;
    }

   
    public void setName(String name)
    {
       this.name = name;
    }
    
    public void setAmount(int amount)
    {
        this.amount = amount;
    }
    
    public void setRentPrice(double rentPrice)
    {
        this.rentPrice = rentPrice;
    }
    
    public void setMachineId(long machineId)
    {
        this.machineId = machineId;
    }
    
    public int getAmount()
    {
        return amount;
    }
    
    public String getName()
    {
        return name;
    }
    
    public double getRentalPrice()
    {
        return rentPrice;
    }
    
    public long getMachineId()
    {
        return machineId;
    }
        
}
